package flst.ipiweb.common;

import java.util.Random;

public class DeliveryRecipient {

	private int id;
	private String name;
	private Address address;
	private boolean isRelay;

	public DeliveryRecipient() {
		Random r = new Random();
		this.setId(r.nextInt(Integer.MAX_VALUE));
	}

	public DeliveryRecipient(int id) {
		this.setId(id);
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public boolean getIsRelay() {
		return isRelay;
	}

	public void setIsRelay(boolean isRelay) {
		this.isRelay = isRelay;
	}

	
	
}
